package com.lg.erp.service.impl.chenkang;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lg.erp.entity.chenkang.TWare;
import com.lg.erp.mapper.chenkang.WareMapper;
import com.lg.erp.service.chenkang.IWareService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.sql.Timestamp;

@Service
public class WareServiceImpl extends ServiceImpl<WareMapper,TWare> implements IWareService {

    @Autowired
    private WareMapper wareMapper;


    @Override
    public IPage<TWare> pageWare(Page<TWare> page,String name,String dateTime) {

        
        return wareMapper.pageWare(page,name,dateTime);
    }

    @Override
    public Integer selectWareByCargoProductNo() {
        return wareMapper.selectWareByCargoProductNo();
    }


}
